import request from '@/utils/request'

// 查询课程班级列表
export function listCourseclazz(query) {
  return request({
    url: '/feedback/courseclazz/list',
    method: 'get',
    params: query
  })
}

// 查询课程班级详细
export function getCourseclazz(id) {
  return request({
    url: '/feedback/courseclazz/' + id,
    method: 'get'
  })
}

// 新增课程班级
export function addCourseclazz(data) {
  return request({
    url: '/feedback/courseclazz',
    method: 'post',
    data: data
  })
}

// 修改课程班级
export function updateCourseclazz(data) {
  return request({
    url: '/feedback/courseclazz',
    method: 'put',
    data: data
  })
}

// 删除课程班级
export function delCourseclazz(id) {
  return request({
    url: '/feedback/courseclazz/' + id,
    method: 'delete'
  })
}
